#pragma once
class CIOCP;
class CPacketsManager
{
public:
	CPacketsManager(void);
	~CPacketsManager(void);
	BOOL ParseSocketData(CIOCP* piocp,char* pbuf,int len);
	BOOL AnalyzeData(CIOCP* piocp,char* pbuf,int len);
	char m_intbuf[sizeof(int)];
	int m_intpos;
	char* m_buf;
	int m_datalen;
	int m_recvedlen;
	CLIENTINFO* m_pclient;
	CLockCS m_lock;
};
